
#include "NetworkIDGenerator.h"

class CNetworkObject;

class CPlayer// : public CNetworked
{
    
    public:
        
        CPlayer(PlayerID id = UNASSIGNED_PLAYER_ID) : m_ID(id), m_pObject(0) 		{}
        
        PlayerID setID(PlayerID id) 						{ m_ID = id; return m_ID; }
        PlayerID getID()                					{ return m_ID; }
        CNetworkObject* setObject(CNetworkObject* pOb)		{ m_pObject = pOb; return m_pObject; }
        CNetworkObject* getObject()							{ return m_pObject; }
        
    private:
        
        PlayerID m_ID;
        CNetworkObject* m_pObject;

};
